// -----------------------------------------------------------------------------
// M A R I T I M E   R E S E A R C H   I N S T I T U T E   N E T H E R L A N D S
// -----------------------------------------------------------------------------
// Copyright (C) February 1, 2010 MARIN - All rights reserved - http://www.marin.nl
// -----------------------------------------------------------------------------
// Program  : mermaid
// Module   : vbm
// File     : Timer.h
// -----------------------------------------------------------------------------

#ifndef TIMER_H
#define	TIMER_H

// -----------------------------------------------------------------------------
// class Timer
// -----------------------------------------------------------------------------
/// very simple timer class for wallclock timing
// -----------------------------------------------------------------------------
class Timer
{

public:

    Timer();

    virtual ~Timer();

    double getElapsedTime();

private:
    
    Timer(const Timer& a_other);
    Timer & operator=(const Timer& a_other);

    double m_start; ///< remembers start time
};

#endif // TIMER_H

